From c5d4485a6377507fda401ddfa7431ece07c35640 Mon Sep 17 00:00:00 2001 From: Jakub Steiner Date: Fri, 29 Aug 2014 02:41:33 +0200 Subject: [PATCH] Adwaita: pathbar whitespace - optically center icons + labels vertically. It isn't actually centered, but feels more balanced - add some left/right padding https://bugzilla.gnome.org/show_bug.cgi?id=734753 --- gtk/resources/theme/Adwaita/_common.scss | 3 +-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/resources/theme/Adwaita/gtk-contained.css | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/gtk/resources/theme/Adwaita/_common.scss b/gtk/resources/theme/Adwaita/_common.scss index 6c4fe92740..ee1440749e 100644 --- a/gtk/resources/theme/Adwaita/_common.scss +++ b/gtk/resources/theme/Adwaita/_common.scss @@ -1056,8 +1056,7 @@ GtkComboBox { ************/ .path-bar .button { - padding-left: 4px; - padding-right: 4px; + padding: 7px 6px 5px; &:first-child { padding-left: 8px; } &:last-child { padding-right: 8px; } &:only-child { diff --git a/gtk/resources/theme/Adwaita/gtk-contained-dark.css b/gtk/resources/theme/Adwaita/gtk-contained-dark.css index 425d3005e0..a473bc9127 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/resources/theme/Adwaita/gtk-contained-dark.css @@ -1182,8 +1182,7 @@ GtkComboBox { * Pathbars * ************/ .path-bar .button { - padding-left: 4px; - padding-right: 4px; } + padding: 7px 6px 5px; } .path-bar .button:first-child { padding-left: 8px; } .path-bar .button:last-child { diff --git a/gtk/resources/theme/Adwaita/gtk-contained.css b/gtk/resources/theme/Adwaita/gtk-contained.css index 9fb1ca2ea0..f7a5b1c743 100644 --- a/gtk/resources/theme/Adwaita/gtk-contained.css +++ b/gtk/resources/theme/Adwaita/gtk-contained.css @@ -1174,8 +1174,7 @@ GtkComboBox { * Pathbars * ************/ .path-bar .button { - padding-left: 4px; - padding-right: 4px; } + padding: 7px 6px 5px; } .path-bar .button:first-child { padding-left: 8px; } .path-bar .button:last-child { -- 2.30.2